#include <stdio.h>

main(void)
{
	int F;
	scanf("%d", &F);
	int C = F - 32;
	C *= 5;
	C /= 9;
	printf("Celsius = %d", C);

	return 0;
}